package so.ifl.vo;

import java.io.Serializable;
import java.util.Date;

/**
 *create by aaron.lu
 *create at 2012-2-2 下午11:21:14
 *<mailto: atyuan.lu@gmail.com>
 **/
public class TranRecordVo implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer tranId;        
	private Integer recordId;     
	private Integer studentId;    
	private Integer accoutId;
	private Integer companyId;
	private Float money;         
	private String tranMode;      
	private String tranNode;     
	private Integer tranType;      
	private String createUser;    
	private Date createTime;    
	private String lastModifyUser;
	private Date lastModifyTime;
	private String studentNativePlace;
	private String studentLocal;
	
	//extend field
	private String tranOfficecode;
	private String tranOfficeName;
	private String studentName;
	private String studentCertificateNumber;
	private String studentApplyDriveType;
	private String officeName;
	private String createAccountOwner;//create user
	private String itemType;
	private Float shouldPay;
	private Date studentCreateTime;
	private String studentPhone;
	private String isMarkup;//是否补考
	private String isChargeAgainst;//是否冲销
	private String typeOfTran;//交易类型(0:收入,1:支出,2:欠费补交收入)
	private String tranCode;//交易流水好
	private Float payEven;
	
	public TranRecordVo() {
		super();
	}
	
	public TranRecordVo(Integer recordId, Integer studentId, Integer accoutId,
			Integer companyId, Float money, String tranMode, String tranNode,
			Integer tranType, String createUser, Date createTime,
			String lastModifyUser, Date lastModifyTime, String tranOfficecode,
			String tranOfficeName, String studentName,
			String studentCertificateNumber, String studentApplyDriveType,
			String officeName, String createAccountOwner, String itemType,
			Float shouldPay, Date studentCreateTime, String studentPhone,
			String isMarkup, String isChargeAgainst, String typeOfTran,
			String tranCode, Float payEven, String studentNativePlace,
			String studentLocal) {
		super();
		this.recordId = recordId;
		this.studentId = studentId;
		this.accoutId = accoutId;
		this.companyId = companyId;
		this.money = money;
		this.tranMode = tranMode;
		this.tranNode = tranNode;
		this.tranType = tranType;
		this.createUser = createUser;
		this.createTime = createTime;
		this.lastModifyUser = lastModifyUser;
		this.lastModifyTime = lastModifyTime;
		this.tranOfficecode = tranOfficecode;
		this.tranOfficeName = tranOfficeName;
		this.studentName = studentName;
		this.studentCertificateNumber = studentCertificateNumber;
		this.studentApplyDriveType = studentApplyDriveType;
		this.officeName = officeName;
		this.createAccountOwner = createAccountOwner;
		this.itemType = itemType;
		this.shouldPay = shouldPay;
		this.studentCreateTime = studentCreateTime;
		this.studentPhone = studentPhone;
		this.isMarkup = isMarkup;
		this.isChargeAgainst = isChargeAgainst;
		this.typeOfTran = typeOfTran;
		this.tranCode = tranCode;
		this.payEven = payEven;
	}

	public Integer getTranId() {
		return tranId;
	}

	public void setTranId(Integer tranId) {
		this.tranId = tranId;
	}

	public Integer getRecordId() {
		return recordId;
	}

	public void setRecordId(Integer recordId) {
		this.recordId = recordId;
	}

	public Integer getStudentId() {
		return studentId;
	}

	public void setStudentId(Integer studentId) {
		this.studentId = studentId;
	}

	public Integer getAccoutId() {
		return accoutId;
	}

	public void setAccoutId(Integer accoutId) {
		this.accoutId = accoutId;
	}

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	public Float getMoney() {
		return money;
	}

	public void setMoney(Float money) {
		this.money = money;
	}

	public String getTranMode() {
		return tranMode;
	}

	public void setTranMode(String tranMode) {
		this.tranMode = tranMode;
	}

	public String getTranNode() {
		return tranNode;
	}

	public void setTranNode(String tranNode) {
		this.tranNode = tranNode;
	}

	public Integer getTranType() {
		return tranType;
	}

	public void setTranType(Integer tranType) {
		this.tranType = tranType;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getLastModifyUser() {
		return lastModifyUser;
	}

	public void setLastModifyUser(String lastModifyUser) {
		this.lastModifyUser = lastModifyUser;
	}

	public Date getLastModifyTime() {
		return lastModifyTime;
	}

	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}

	public String getTranOfficecode() {
		return tranOfficecode;
	}

	public void setTranOfficecode(String tranOfficecode) {
		this.tranOfficecode = tranOfficecode;
	}

	public String getTranOfficeName() {
		return tranOfficeName;
	}

	public void setTranOfficeName(String tranOfficeName) {
		this.tranOfficeName = tranOfficeName;
	}

	public String getStudentName() {
		return studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	public String getStudentCertificateNumber() {
		return studentCertificateNumber;
	}

	public void setStudentCertificateNumber(String studentCertificateNumber) {
		this.studentCertificateNumber = studentCertificateNumber;
	}

	public String getStudentApplyDriveType() {
		return studentApplyDriveType;
	}

	public void setStudentApplyDriveType(String studentApplyDriveType) {
		this.studentApplyDriveType = studentApplyDriveType;
	}

	public String getOfficeName() {
		return officeName;
	}

	public void setOfficeName(String officeName) {
		this.officeName = officeName;
	}

	public String getCreateAccountOwner() {
		return createAccountOwner;
	}

	public void setCreateAccountOwner(String createAccountOwner) {
		this.createAccountOwner = createAccountOwner;
	}

	public String getItemType() {
		return itemType;
	}

	public void setItemType(String itemType) {
		this.itemType = itemType;
	}

	public Float getShouldPay() {
		return shouldPay;
	}

	public void setShouldPay(Float shouldPay) {
		this.shouldPay = shouldPay;
	}
	
	public Date getStudentCreateTime() {
		return studentCreateTime;
	}

	public void setStudentCreateTime(Date studentCreateTime) {
		this.studentCreateTime = studentCreateTime;
	}

	public String getStudentPhone() {
		return studentPhone;
	}

	public void setStudentPhone(String studentPhone) {
		this.studentPhone = studentPhone;
	}

	public String getIsMarkup() {
		return isMarkup;
	}

	public void setIsMarkup(String isMarkup) {
		this.isMarkup = isMarkup;
	}

	public String getIsChargeAgainst() {
		return isChargeAgainst;
	}

	public void setIsChargeAgainst(String isChargeAgainst) {
		this.isChargeAgainst = isChargeAgainst;
	}

	public String getTypeOfTran() {
		return typeOfTran;
	}

	public void setTypeOfTran(String typeOfTran) {
		this.typeOfTran = typeOfTran;
	}

	public String getTranCode() {
		return tranCode;
	}

	public void setTranCode(String tranCode) {
		this.tranCode = tranCode;
	}

	public Float getPayEven() {
		return payEven;
	}

	public void setPayEven(Float payEven) {
		this.payEven = payEven;
	}
	
	public String getStudentNativePlace() {
		return studentNativePlace;
	}

	public void setStudentNativePlace(String studentNativePlace) {
		this.studentNativePlace = studentNativePlace;
	}

	public String getStudentLocal() {
		return studentLocal;
	}

	public void setStudentLocal(String studentLocal) {
		this.studentLocal = studentLocal;
	}

	@Override
	public String toString() {
		StringBuffer s = new StringBuffer();
		s.append("{tranId:" + tranId);
		s.append(",recordId:" + recordId);
		s.append(",studentId:" + studentId);
		s.append(",money:" + money);
		s.append(",tranMode:" + tranMode);
		s.append(",tranNode:" + tranNode);
		s.append(",tranType:" + tranType);
		s.append(",studentLocal:" + studentLocal);
		s.append(",studentNativePlace:" + studentNativePlace);
		s.append(",createUser:" + createUser);
		s.append(",createTime:" + createTime);
		s.append(",lastModifyUser:" + lastModifyUser);
		s.append(",lastModifyTime:" + lastModifyTime+"}");
		
		return s.toString();
	}

}
